package com.zm.devmag.device.dao;



import java.util.List;



import org.springframework.stereotype.Repository;

import com.zm.devmag.device.po.Warehouse;
@Repository
public interface WarehouseMapper {

	//根据id删除用户
    int deleteByPrimaryKey(Long id);

    int insertSelective(Warehouse record);
 
    //通过id查看用户
    Warehouse selectByPrimaryKey(Long id);
    
    int updateByPrimaryKeySelective(Warehouse record);
	List<Warehouse> findAll();
	int selectNameCountByWhname(String whname);
	Long getMaxIdValue();
	Warehouse selectByWid(Long wid);
	Warehouse selectWHByWhname(String whname);
	Warehouse selectByPartName(String pname);
}